﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace FarmSmartSleep.Common.Dtos
{
    /// <summary>
    /// 羊只转舍列表Dto
    /// </summary>
    public class SheepTransListDto
    {
        public int SheepTransferId { get; set; }
        /// <summary>
        /// 转舍操作的日期
        /// </summary>
        public DateTime TransferDate { get; set; }
        /// <summary>
        /// 单据号
        /// </summary>
        public string DocumentNo { get; set; }
        /// <summary>
        /// 流水号
        /// </summary>
        public string SerialNo { get; set; }
        /// <summary>
        /// 羊只的耳号
        /// </summary>
        public int EarNo { get; set; }
        /// <summary>
        /// 羊只的耳号
        /// </summary>
        public string EarNumbewr { get; set; }
        /// <summary>
        /// 转入的栋舍
        /// </summary>
        public int TransferBarn { get; set; }
        /// <summary>
        /// 转入的栏位
        /// </summary>
        public int TransferPen { get; set; }
        /// <summary>
        /// 转出的栋舍
        /// </summary>
        public int OuBarn { get; set; }
        /// <summary>
        /// 转出的栏位
        /// </summary>
        public int OutPen { get; set; }
        /// <summary>
        /// 备注
        /// </summary>
        public string Notes { get; set; }
        /// <summary>
        /// 转舍类型
        /// </summary>
        public int SheepTransferTypeId { get; set; }
        /// <summary>
        /// 转舍类型(名称)
        /// </summary>
        public string SheepTransferTypeName { get; set; }
        /// <summary>
        /// 创建人
        /// </summary>
        public int CreateId { get; set; }
        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime CreateTime { get; set; }
        /// <summary>
        /// 修改人
        /// </summary>
        public int? UpdateId { get; set; }
        public DateTime? UpdateTime { get; set; }
        /// <summary>
        /// 是否删除
        /// </summary>
        public bool Deletes { get; set; }
        /// <summary>
        /// 审核人
        /// </summary>
        public int? ExamId { get; set; }
        /// <summary>
        /// 审核时间
        /// </summary>
        public DateTime? ExamTime { get; set; }

        /// <summary>
        /// 转入的栋舍
        /// </summary>
        public string  ToCottageName { get; set; }
        /// <summary>
        /// 转入的栏位
        /// </summary>
        public string ToFieldName { get; set; }
        /// <summary>
        /// 转出的栋舍
        /// </summary>
        public string CottageName { get; set; }
        /// <summary>
        /// 转出的栏位
        /// </summary>
        public string FieldName { get; set; }

        public int VarietyId { get; set; }//品种编号 

        public string? VarietyName { get; set; }//品种名称
        /// <summary>
        /// 性别  1--公  2--母
        /// </summary>
        public int Gender { get; set; }
        /// <summary>
        /// 创建人姓名
        /// </summary>
        public string CreateName { get; set; }
        /// <summary>
        /// 修改人姓名
        /// </summary>
        public string? UpdateName { get; set; }
        /// <summary>
        /// 审核人姓名
        /// </summary>
        public string? ExamName { get; set; }


    }
}
